﻿using System.Diagnostics;
using System.IO;
using System.Windows.Forms;

namespace AdvancedScriptEditor
{
    partial class AboutBox : Form
    {
        string appPath;

        public AboutBox()
        {
            InitializeComponent();
        }

        private void AboutBox_Load(object sender, System.EventArgs e)
        {
            appPath = Properties.Settings.Default.AppPath;
            txtbx_Description.Text = File.ReadAllText(appPath + "\\license.txt");
        }

        private void lnklbl_Website_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Process.Start("http://AdvancedScriptEditor.CodePlex.com");
        }
    }
}
